// 条件逻辑
export const conDesignOptions = [
  {label: "大于", value: ">", type: "primary", color: ""},
  {label: "小于", value: "<", type: "warning", color: ""},
  {label: "等于", value: "=", type: "success", color: ""},
  {label: "大于等于", value: ">=", type: "danger", color: ""},
  {label: "小于等于", value: "<=", type: "info", color: ""},
  {label: "包含", value: "like", type: "primary", color: "red"},
];

export const conDesignMixins = (data) => {
  return conDesignOptions.find(item => item.value === data);
};
